package com.threeti.mecool.common.resource.core;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

import javax.xml.namespace.QName;

import com.threeti.mecool.common.resource.Content;
import com.threeti.mecool.common.resource.ContentRepo;

public class ContentRepoWebDavAdapter implements ContentRepo {
	//private Sardine repoVendor;	

//	public ContentRepoWebDavAdapter(Sardine repoVendor) {
//		super();
//		//this.repoVendor = repoVendor;
//	}

	@Override
	public void copy(String sourceLocation, String destinationLocation) throws IOException {
		//repoVendor.copy(sourceLocation, destinationLocation);
	}

	@Override
	public void createDirectory(String location) throws IOException {
		//repoVendor.createDirectory(location);
	}

	@Override
	public void delete(String location) throws IOException {
		//repoVendor.delete(location);
	}

	@Override
	public void disableCompression() {
		//repoVendor.disableCompression();
	}

	@Override
	public void disablePreemptiveAuthentication() {
		//repoVendor.disablePreemptiveAuthentication();
	}

	@Override
	public void enableCompression() {
		//repoVendor.enableCompression();
	}

	@Override
	public void enablePreemptiveAuthentication(String hostname) {
		//repoVendor.enablePreemptiveAuthentication(hostname);
	}

	@Override
	public boolean exists(String location) throws IOException {
		//return repoVendor.exists(location);
	  return false;
	}

	@Override
	public Content get(String location, Map<String, String> headers) throws IOException {
		return null;
	}

	@Override
	public Content get(String location) throws IOException {
		return null;
	}

	@Override
	public List<Content> list(String location, int depth) throws IOException {
//		List<DavResource> davResources = repoVendor.list(location, depth);
//		return null;
		return null;
	}

	@Override
	public List<Content> list(String location) throws IOException {
		return null;
	}

	@Override
	public String lock(String location) throws IOException {
		return null;
	}

	@Override
	public void move(String sourceLocation, String destinationLocation) throws IOException {
	}

	@Override
	public List<Content> patch(String location, Map<QName, String> addProps, List<QName> removeProps) throws IOException {
		return null;
	}

	@Override
	public List<Content> patch(String location, Map<QName, String> addProps) throws IOException {
		return null;
	}

	@Override
	public void put(String location, byte[] data, String contentType) throws IOException {
	}

	@Override
	public void put(String location, byte[] data) throws IOException {
	}

	@Override
	public void put(String location, InputStream dataStream, Map<String, String> headers) throws IOException {
	}

	@Override
	public void put(String location, InputStream dataStream, String contentType, boolean expectContinue) throws IOException {
	}

	@Override
	public void put(String location, InputStream dataStream, String contentType) throws IOException {
	}

	@Override
	public void put(String location, InputStream dataStream) throws IOException {
	}

	@Override
	public void put(String location, InputStream dataStream, boolean isStreamCloseQuietly) throws IOException {
	}

	@Override
	public void setCredentials(String username, String password, String domain, String workstation) {
	}

	@Override
	public void setCredentials(String username, String password) {
	}

	@Override
	public void unlock(String location, String token) throws IOException {
	}
	
}
